﻿<Window x:Class="XbdSoft.WPFVersion.TestWindow"
        xmlns:effect="clr-namespace:XbdSoft.WPFVersion.Effect"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
        Icon="/Images/favicon.ico" Background="Transparent" WindowStyle="None"  
        xmlns:interopControl="clr-namespace:XbdSoft.InteropControls;assembly=XbdSoft.InteropControls"
        Title="TestWindpw" Height="500" Width="750" >
    <Grid Name="layoutRoot">
        <Grid.Background>
            <LinearGradientBrush EndPoint="0.6,1" StartPoint="0.2,0.2">
                <GradientStop Color="#FF489CC5"/>
                <GradientStop Color="#FFC2E5F3" Offset="1"/>
                <GradientStop Color="#FF85BFDA" Offset="0.277"/>
            </LinearGradientBrush>
        </Grid.Background>
        <Grid.RowDefinitions>
            <RowDefinition Height="220"></RowDefinition>
            <RowDefinition Height="220"></RowDefinition>
            <RowDefinition Height="*"></RowDefinition>
        </Grid.RowDefinitions>
        <Grid Name="welcomeGrid" Grid.Row="0"  >
            <TextBlock>Welcome</TextBlock>
            <Button  Click="Button_Click"/>
            <MediaElement x:Name="McMediaElement" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" LoadedBehavior="Manual" Visibility="Visible" UnloadedBehavior="Stop" Stretch="Fill" RenderTransformOrigin="0.061,0.613" Margin="314,0,118,6" />
        </Grid>
        <Grid Name="tabHeaderGrid" Grid.Row="1">
            <TabControl Background="Transparent" >
                <TabItem Header="1111">
                    <WindowsFormsHost Height="65" Width="300">
                        <interopControl:WinMediaPlayer x:Name="winMediaPlayer"  Height="30" Width="300"></interopControl:WinMediaPlayer>
                    </WindowsFormsHost>
                </TabItem >
                <TabItem  Header="11dd11"></TabItem>
            </TabControl>
        </Grid>
    </Grid>
</Window>
